package com.zdkj.subway.stm.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zdkj.subway.stm.dto.out.SwStInputPassengerWorkOtherDTO;
import com.zdkj.subway.stm.entity.SwStInputPassengerWorkOther;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 其他相关数据录入
 *
 * @author cuilei
 * @date 2020-05-25 13:38:16
 */
public interface SwStInputPassengerWorkOtherMapper extends BaseMapper<SwStInputPassengerWorkOther> {
    /**
     * 自定义分页查询
     *
     * @param page
     * @param wrapper
     * @return
     */
    IPage<SwStInputPassengerWorkOtherDTO> pageSelect(IPage page, @Param(Constants.WRAPPER) Wrapper wrapper);

    /**
     * 根据参数查询一条数据
     *
     * @param param
     * @return
     */
    List<Map<String, Object>> getInputPassengerWorkOther(@Param("param") Map<String, String> param);

    List<SwStInputPassengerWorkOther> getList(@Param("split") String[] split);
}
